package com.market.domain;

import java.util.HashSet;
import java.util.Set;

public class User {
private int id;	//用户id
private String username;	//用户名
private String password;	//密码
private String uimage;		//用户头像
private String signature;	//用户个性签名
private String phonenum;	//手机号码
private String qqnum;		//qq号码
private String sex;
public String getSex() {
	return sex;
}

public void setSex(String sex) {
	this.sex = sex;
}

public Set<Product>  product= new HashSet<Product>();

public Set<Product> getProduct() {
	return product;
}


public void setProduct(Set<Product> product) {
	this.product = product;
}


public int getId() {
	return id;
}

public void setId(int id) {
	this.id = id;
}

public String getUsername() {
	return username;
}


public void setUsername(String username) {
	this.username = username;
}


public String getPassword() {
	return password;
}


public void setPassword(String password) {
	this.password = password;
}


public String getUimage() {
	return uimage;
}


public void setUimage(String uimage) {
	this.uimage = uimage;
}


public String getSignature() {
	return signature;
}


public void setSignature(String signature) {
	this.signature = signature;
}


public String getPhonenum() {
	return phonenum;
}


public void setPhonenum(String phonenum) {
	this.phonenum = phonenum;
}


public String getQqnum() {
	return qqnum;
}


public void setQqnum(String qqnum) {
	this.qqnum = qqnum;
}


@Override
public String toString() {
	return "User [id=" + id + ", username=" + username + ", password=" + password + ", uimage=" + uimage
			+ ", signature=" + signature + ", phonenum=" + phonenum + ", qqnum=" + qqnum + ", sex=" + sex + ", product="
			+ product + "]";
}






}
